import axios from 'axios';

export function queryCustomerList(param?: any) {
  return axios.post('/admin/customer', param);
}

export function createCustomer(param?: any) {
  return axios.post('/admin/customer/create', param);
}

export function updateCustomer(param?: any) {
  return axios.post('/admin/customer/update', param);
}

export function deleteCustomer(param: { id?: number }) {
  return axios.post('/admin/customer/delete', param);
}

export function queryCustomerFollowList(param?: any) {
  return axios.post('/admin/customer-follow', param);
}

export function createCustomerFollow(param?: any) {
  return axios.post('/admin/customer-follow/create', param);
}

export function updateCustomerFollow(param?: any) {
  return axios.post('/admin/customer-follow/update', param);
}

export function deleteCustomerFollow(param: { id?: number }) {
  return axios.post('/admin/customer-follow/delete', param);
}

